<?php
	// Setup our default assets to load.
	Assets::add_js( array(
		//base_url() .'assets/js/jquery-1.7.1.min.js',
		//base_url() .'assets/js/niceforms.js',
	));
?>
<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />

	<title><?php echo config_item('site.title'); ?></title>

	<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico">

	<?php echo Assets::css(); ?>
	<?php echo Assets::css('bet/menu.css'); ?>
	<?php echo Assets::css('bet/content.css'); ?>

	<?php echo Assets::external_js('head.min.js'); ?>
	<?php echo Assets::external_js('jquery-1.7.1.min.js'); ?>
</head>
<body>
	</br>
	<div class="page">

		<div class="main">
			<?php echo Template::message(); ?>
			<?php echo isset($content) ? $content : Template::yield(); ?>
			<input type="button" value="test"/>
		</div>	<!-- /main -->
	</div>	<!-- /page -->

	<div id="debug"></div>

	<script>
		head.js(<?php echo Assets::external_js(null, true) ?>);
		head.js(<?php echo Assets::module_js(true) ?>);
	</script>
	<?php echo Assets::inline_js(); ?>
</body>
</html>
